# 动态创建类的其他方式
def run(self):
    print('run')

v1 = type('Person', (), {
    'count': 1, 'run': run})

print(v1.__name__)
p = v1()
print(p)
p.run()

print(v1.__class__)

class Animal:
    __metaclass__ = '__metaclass__'
    print(__metaclass__)

print(Animal.__class__)
